package v1

import (
	v12 "dubbo-go-app/pkg/internal/data/v1"
)

// var ProviderSet = wire.NewSet(NewActivityService)
type ServiceFactory interface {
	Activity() ActivitySrv
}
type service struct {
	data v12.DataFactory
}

func (s *service) Activity() ActivitySrv {
	return newactivityService(s)
}
func NewService(store v12.DataFactory) *service {
	return &service{data: store}
}

var _ ServiceFactory = &service{}
